package com.wanwu.channel.dto.vo;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName PrepayStrategyRequest
 * @Description 预下单公共入参
 * @Author husheng
 * @Date 2020-01-16 19:40
 */
@Getter
@Setter
public class PrepayStrategyReqVo extends BaseReqVo {

    private static final long serialVersionUID = -3913349154021938641L;

    private String merPageUrl;

    private BigDecimal payAmount;

    private String currency;

    /**
     *  业务线商家交易单号,上送标识为0时有值
     */

    private String bizOrderNo;

    /**
     * 渠道单号 上送标识为1时有值
     */
    private String channelNo;

    /**
     * 上送第三方单号标识 0-业务线支付单号 1-渠道编号
     */
    private Integer thirdFlag;

    private Long totalNumber;

    private String orderName;

    private String goodsDetailDescription;

    private String goodsInfo;

    private String subAppId;

    private String acct;

    private String cusId;

    private String appId;

    private String timeStart;

    private String timeExpire;

    private String attach;

    private String spbillCreateIp;  //用户IP

    private String sceneCode;

    private String sceneName;

    /** 订单名称 微信格式：天天爱消除-游戏充值 */
    private String subject;

    //支付单创建时间：做第三方订单超时用
    private Date payOrderCreateTime;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
